package com.marvels.financial.loan.dto;

import com.marvels.common.dto.BaseDTO;

import java.math.BigDecimal;
import java.util.Date;

/**预存储还款计划
 * @author 11271
 * @version 1.0
 * @date 2022/3/29 17:49
 */
public class McfeCustomerPreviewRepaymentPlanDTO extends BaseDTO {

    private String id;
    private String loanId;
    private String tenor;
    private Date paymentDate;
    private BigDecimal principal = BigDecimal.ZERO.setScale(2);
    private BigDecimal interest = BigDecimal.ZERO.setScale(2);
    private BigDecimal amount = BigDecimal.ZERO.setScale(2);

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    public String getTenor() {
        return tenor;
    }

    public void setTenor(String tenor) {
        this.tenor = tenor;
    }

    public Date getPaymentDate() {
        return paymentDate;
    }

    public void setPaymentDate(Date paymentDate) {
        this.paymentDate = paymentDate;
    }

    public BigDecimal getPrincipal() {
        return principal;
    }

    public void setPrincipal(BigDecimal principal) {
        this.principal = principal;
    }

    public BigDecimal getInterest() {
        return interest;
    }

    public void setInterest(BigDecimal interest) {
        this.interest = interest;
    }
}
